﻿@model S4Store.Domain.ImproveGuide
@{
    ViewBag.Title = "Add";
    Layout = null;
}
<form class="pageForm addpage" action="@Url.Action("Edit")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
    <div class="pageFormContent" style="overflow: auto;" ratio="*">
        <input type="hidden" value="@Model.StoreId" name="StoreId" />
        <input type="hidden" value="@Model.Type" name="Type" />
        <input type="hidden" value="@Model.Id" name="Id" />
        <table style="width:100%; height:100%;"  class="verticalSplitContainer">
            <tr ratio="#30">
                <td>指导建议类型：@Model.GuideType.GetDescription()</td>
            </tr>
            <tr  ratio="#30">
                <td >填写改善指导建议内容：</td>
            </tr>  
            <tr ratio="*">
                <td  style=" height:100%;">
                    <textarea name="ImproveContent" style="width:100%; height:100%;">@Model.ImproveContent</textarea>
                    
                    
                </td>
            </tr> 
        </table>
			
    </div>
    @if (Model.StatusValue.ToEnum<S4Store.Domain.ImproveGuide.Status>() == S4Store.Domain.ImproveGuide.Status.Draft)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
            </ul>
        </div>
    }
</div>
</form>


